
from django.conf.urls import url, include

from . import views

urlpatterns = [
    url('^info/', views.UserInfoView.as_view(),name='user_info'),  # url 'users:user_info'
    url('^mymessage/', views.MyMessageView.as_view(),name='mymessage'),  # url 'users:user_info'
    url(r'^myfav/course/$',views.MyFavCourseView.as_view(), name='myfav_course'),  # url 'users:user_info'
    url('^myfav/org/$', views.MyFavOrgView.as_view(), name='myfav_org'),  # url 'users:user_info'
    url(r'^myfav/teacher/$',views.MyFavTeacherView.as_view(), name='myfav_teacher'),  # url 'users:user_info'
    # url('^myfav_course/', views.UserInfoView.as_view(),name='myfav_course'),  # url 'users:user_info'
    url('^image_upload/', views.UploadImageView.as_view(),name='image_upload'),  # url 'users:user_info'
    url(r'^mycourse/$', views.MyCourseView.as_view(), name='mycourse'),

]
